package com.tust.app.service;

import com.github.pagehelper.PageInfo;
import com.tust.app.domain.Answer;

import java.util.List;

public interface AnswerService {
    PageInfo getAllAnswers(int pageNum);
    void updateAnswerState(int id);
    void deleteAnswer(int id);

    void addAnswer(Answer answer);
}
